home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XXXXrrrrmmmmMMMMeeeerrrrggggeeeeDDDDaaaattttaaaabbbbaaaasssseeeessss((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))XXXXrrrrmmmmMMMMeeeerrrrggggeeeeDDDDaaaattttaaaabbbbaaaasssseeeessss((((3333XXXX11111111))))
-
-
-
- NNNNAAAAMMMMEEEE
- XrmMergeDatabases, XrmCombineDatabase,
- XrmCombineFileDatabase - merge resource databases
-
- SSSSYYYYNNNNTTTTAAAAXXXX
- void XrmMergeDatabases(_s_o_u_r_c_e__d_b, _t_a_r_g_e_t__d_b)
- XrmDatabase _s_o_u_r_c_e__d_b, *_t_a_r_g_e_t__d_b;
-
- void XrmCombineDatabase(_s_o_u_r_c_e__d_b, _t_a_r_g_e_t__d_b, _o_v_e_r_r_i_d_e)
- XrmDatabase _s_o_u_r_c_e__d_b, *_t_a_r_g_e_t__d_b;
- Bool _o_v_e_r_r_i_d_e;
-
- Status XrmCombineFileDatabase(_f_i_l_e_n_a_m_e, _t_a_r_g_e_t__d_b, _o_v_e_r_r_i_d_e)
- char *_f_i_l_e_n_a_m_e;
- XrmDatabase *_t_a_r_g_e_t__d_b;
- Bool _o_v_e_r_r_i_d_e;
-
- AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
- _s_o_u_r_c_e__d_b Specifies the resource database that is to be
- merged into the target database.
-
- _t_a_r_g_e_t__d_b Specifies the resource database into which the
- source database is to be merged.
-
- _f_i_l_e_n_a_m_e Specifies the resource database file name.
-
- _o_v_e_r_r_i_d_e Specifies whether source entries override target
- ones.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- Calling the _X_r_m_M_e_r_g_e_D_a_t_a_b_a_s_e_s function is equivalent to
- calling the _X_r_m_C_o_m_b_i_n_e_D_a_t_a_b_a_s_e function with an override
- argument of _T_r_u_e.
-
- The _X_r_m_C_o_m_b_i_n_e_D_a_t_a_b_a_s_e function merges the contents of one
- database into another. If the same specifier is used for an
- entry in both databases, the entry in the source_db will
- replace the entry in the target_db if override is _T_r_u_e;
- otherwise, the entry in source_db is discarded. If
- target_db contains NULL, _X_r_m_C_o_m_b_i_n_e_D_a_t_a_b_a_s_e simply stores
- source_db in it. Otherwise, source_db is destroyed by the
- merge, but the database pointed to by target_db is not
- destroyed. The database entries are merged without changing
- values or types, regardless of the locales of the databases.
- The locale of the target database is not modified.
-
- The _X_r_m_C_o_m_b_i_n_e_F_i_l_e_D_a_t_a_b_a_s_e function merges the contents of a
- resource file into a database. If the same specifier is
- used for an entry in both the file and the database, the
- entry in the file will replace the entry in the database if
- override is _T_r_u_e; otherwise, the entry in the file is
- discarded. The file is parsed in the current locale. If
-
-
-
- Page 1 (printed 4/30/98)
-
-
-
-
-
-
- XXXXrrrrmmmmMMMMeeeerrrrggggeeeeDDDDaaaattttaaaabbbbaaaasssseeeessss((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))XXXXrrrrmmmmMMMMeeeerrrrggggeeeeDDDDaaaattttaaaabbbbaaaasssseeeessss((((3333XXXX11111111))))
-
-
-
- the file cannot be read, a zero status is returned;
- otherwise, a nonzero status is returned. If target_db
- contains NULL, _X_r_m_C_o_m_b_i_n_e_F_i_l_e_D_a_t_a_b_a_s_e creates and returns a
- new database to it. Otherwise, the database pointed to by
- target_db is not destroyed by the merge. The database
- entries are merged without changing values or types,
- regardless of the locale of the database. The locale of the
- target database is not modified.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- XrmGetResource(3X11), XrmInitialize(3X11),
- XrmPutResource(3X11)
- _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 2 (printed 4/30/98)
-
-
-
-